import axios from '@/utils/request'
const base = '/movieserver'

export function saveTag(data) {
  return axios({
    url: `${base}/movieTags`,
    method: 'post',
    data
  })
}

export function listTag(params) {
  return axios({
    url: `${base}/movieTags`,
    method: 'get',
    params: params
  })
}

export function deleteTag(id) {
  return axios({
    url: `${base}/movieTags/` + id,
    method: 'delete'
  })
}
